package com.zhongkai.dao.book;

import java.util.List;

import org.springframework.stereotype.Component;

import com.zhongkai.dao.BaseDao;

/**
 * @author 吴嘉俊
 * @CreateTime Aug 1, 2011
 *
 */
@Component
public class CarRegisterDAO extends BaseDao {
	
	public List findByHql(String hql,Object value) throws Exception {
		return getHibernateTemplate().find(hql, value);
	}
	
	public List findByHql(String hql,Object[] values) throws Exception {
		return getHibernateTemplate().find(hql, values);
	}

}